package com.tyk.bookstore.back.product.model.vo;


import com.tyk.bookstore.back.common.core.model.page.PageVo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author tyk
 * @description 作者
 */
@Data
public class AuthorPageVo extends PageVo<AuthorPageVo.Author> {
    @Data
    public static class Author {

        @Schema(description = "ID")
        private Long id;

        @Schema(description = "名字")
        private String name;

        @Schema(description = "描述")
        private String description;

        @Schema(description = "创建时间")
        private LocalDateTime createTime;

        @Schema(description = "更新时间")
        private LocalDateTime updateTime;

    }
}
